/**
 * @fileoverview Core UI Helper Functions for FamilyTreeWiki.
 */

goog.provide('ftw.ui');

goog.require('goog.dom');
goog.require('goog.string');


/**
 * Say hello!
 * @param {string=} opt_message Optional message.
 * @param {Element=} opt_el Optional element to use.
 */
ftw.ui.sayHello = function(opt_message, opt_el) {
  var messageEl = goog.dom.getElement(opt_el || 'message');
  messageEl.innerHTML = goog.string.htmlEscape(opt_message ||
                                               'Hello World');
};
